//
//  TotalAddressTableViewCell.m
//  SDHuiYuShoping
//
//  Created by luojiao on 2017/5/9.
//  Copyright © 2017年 luojiao. All rights reserved.
//

#import "TotalAddressTableViewCell.h"

@implementation TotalAddressTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _addressImage.image = [UIImage imageNamed:@"map_logo"];
    [_chosseButton setImage:[UIImage imageNamed:@"select_btn"] forState:UIControlStateNormal];
    [_chosseButton setImageEdgeInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)chosseButtonClick:(id)sender
{
    
    if (_delegate && [_delegate respondsToSelector:@selector(totalChooseButton:)])
    {
        [_delegate totalChooseButton:self];
    }
 
}

@end
